home *** CD-ROM | disk | FTP | other *** search
- package Code.WINDOWS.DIALOGS
- {
- import Code.LIB.SOUND._bu111;
- import Code.LIB._cg33;
- import Code.LIB._ct751;
- import Code.LIB._gt710;
- import Code.LIB._my111;
- import Code.LIB._wy567;
- import Code.OPTIONS._gs337;
- import Code.WINDOWS._tc365;
- import Code._fi197;
- import flash.events.Event;
- import flash.events.MouseEvent;
-
- public class _ai358 extends _gt710
- {
- public var iASLButton:_ct751;
-
- public var iOk:_ct751;
-
- private var iMVolume:int;
-
- public var iCancel:_ct751;
-
- private var iSVBckup:int;
-
- public var iASRButton:_ct751;
-
- public var iAMRButton:_ct751;
-
- public var iMVLabel:_wy567;
-
- public var iAMLButton:_ct751;
-
- private var iMVBckup:int;
-
- public var iSVLabel:_wy567;
-
- private var iSVolume:int;
-
- public function _ai358()
- {
- var _loc1_:Array = null;
- var _loc2_:_tc365 = null;
- this.iSVolume = _cg33._ss555[1].prSVolume * 100;
- this.iMVolume = _cg33._ss555[1].prMVolume * 100;
- this.iSVBckup = this.iSVolume;
- this.iMVBckup = this.iMVolume;
- _loc1_ = [[_fi197._mo171,_gs337.cAqua,610,470,false,0.5,_gs337.TTV2Frame,-108,-15,null,true],[_fi197._xy367,_gs337.iLanguage.strOptions,_gs337.cOrange,50,_my111.SmallText,130,5,null,true],[_fi197._xy367,_gs337.iLanguage.strSVolume,_gs337.cPink,44,_my111.SmallText,20,75,null,true],[_fi197._xy367,this.iSVolume <= 0 ? "off" : this.iSVolume.toString(),_gs337.cOrange,40,_my111.BigText,235,70,"iSVLabel",true],[_fi197._cf377,40,40,"<",_gs337.cOrange,50,170,70,"iASLButton",true],[_fi197._cf377,40,40,">",_gs337.cOrange,50,290,70,"iASRButton",true],[_fi197._xy367,_gs337.iLanguage.strMVolume,_gs337.cPink,44,_my111.SmallText,20,153,null,true],[_fi197._xy367,this.iMVolume <= 0 ? "off" : this.iMVolume.toString(),_gs337.cOrange,40,_my111.BigText,235,150,"iMVLabel",true],[_fi197._cf377,40,40,"<",_gs337.cOrange,50,170,150,"iAMLButton",true],[_fi197._cf377,40,40,">",_gs337.cOrange,50,290,150,"iAMRButton",true],[_fi197._tr788,_gs337.iLanguage.strOk,_gs337.cGellAqua,110,48,30,_gs337.cWhite,150,380,"iOk",true]
- ,[_fi197._tr788,_gs337.iLanguage.strCancel,_gs337.cGellRed,110,48,30,_gs337.cWhite,320,380,"iCancel",true]];
- super(_loc1_);
- this._xe768(120,25);
- _loc2_ = new _tc365(true);
- addChild(_loc2_);
- _loc2_._xe768(0,200);
- }
-
- override public function _ba289(param1:MouseEvent) : void
- {
- if(param1.target == this.iAMRButton._en365)
- {
- this.iMVolume += 10;
- if(this.iMVolume > 100)
- {
- this.iMVolume = 100;
- }
- this.iMVLabel.Text = this.iMVolume.toString();
- _bu111._yt336 = this.iMVolume / 100;
- }
- if(param1.target == this.iAMLButton._en365)
- {
- this.iMVolume -= 10;
- if(this.iMVolume <= 0)
- {
- this.iMVolume = 0;
- }
- if(this.iMVolume <= 0)
- {
- this.iMVLabel.Text = "off";
- }
- else
- {
- this.iMVLabel.Text = this.iMVolume.toString();
- }
- _bu111._yt336 = this.iMVolume / 100;
- }
- if(param1.target == this.iASRButton._en365)
- {
- this.iSVolume += 10;
- if(this.iSVolume > 100)
- {
- this.iSVolume = 100;
- }
- this.iSVLabel.Text = this.iSVolume.toString();
- _bu111._uk57 = this.iSVolume / 100;
- }
- if(param1.target == this.iASLButton._en365)
- {
- this.iSVolume -= 10;
- if(this.iSVolume < 0)
- {
- this.iSVolume = 0;
- }
- if(this.iSVolume <= 0)
- {
- this.iSVLabel.Text = "off";
- }
- else
- {
- this.iSVLabel.Text = this.iSVolume.toString();
- }
- _bu111._uk57 = this.iSVolume / 100;
- _bu111._wu209("newbug");
- }
- if(param1.target == this.iOk._en365)
- {
- _cg33._ss555[1].prMVolume = this.iMVolume / 100;
- _cg33._ss555[1].prSVolume = this.iSVolume / 100;
- _cg33._gk638();
- _bu111._yt336 = this.iMVolume / 100;
- _bu111._uk57 = this.iSVolume / 100;
- this.hide();
- }
- if(param1.target == this.iCancel._en365)
- {
- _bu111._yt336 = this.iMVBckup / 100;
- _bu111._uk57 = this.iSVBckup / 100;
- this.hide();
- }
- }
-
- override public function onEnterFrame(param1:Event) : void
- {
- super.onEnterFrame(param1);
- if(int(_bu111._yt336 * 100) != iMVolume)
- {
- this.iMVolume = _bu111._yt336 * 100;
- if(this.iMVolume <= 0)
- {
- this.iMVLabel.Text = "off";
- }
- else
- {
- this.iMVLabel.Text = this.iMVolume.toString();
- }
- }
- if(int(_bu111._uk57 * 100) != iSVolume)
- {
- this.iSVolume = _bu111._uk57 * 100;
- if(this.iSVolume <= 0)
- {
- this.iSVLabel.Text = "off";
- }
- else
- {
- this.iSVLabel.Text = this.iSVolume.toString();
- }
- }
- }
- }
- }
-
-